package org.sdp.pearproject.dao.mapper;

import org.sdp.pearproject.dao.domain.*;
import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * InterfaceName: MemberMapper
 * @Description:
 * @Author: SDP
 * @Date: 2022-07-18
 * @Version: 1.0
 * Table: pear_member
 * Comment:
 * 用户表
 */
public interface MemberMapper {
    int deleteByPrimaryKey(Integer id);

    int deleteById(Integer id);

    int deleteByCode(String code);

    int deleteByExample(MemberExample example);

    int insert(MemberWithBLOBs record);

    int insertSelective(MemberWithBLOBs record);

    List<MemberWithBLOBs> selectByExampleWithBLOBs(MemberExample example);

    List<Member> selectByExample(MemberExample example);

    int countByExample(MemberExample example);

    Member selectByPrimaryKey(Integer id);

    MemberWithBLOBs selectByPrimaryKeyWithBLOBs(Integer id);

    Member selectById(Integer id);

    MemberWithBLOBs selectByIdWithBLOBs(Integer id);

    Member selectByCode(String code);

    MemberWithBLOBs selectByCodeWithBLOBs(String code);

    int updateByExampleSelective(@Param("record") MemberWithBLOBs record, @Param("example") MemberExample example);

    int updateByPrimaryKeySelective(MemberWithBLOBs record);

    int updateByIdSelective(MemberWithBLOBs record);

    int updateByCodeSelective(MemberWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(MemberWithBLOBs record);

    int updateByPrimaryKey(Member record);

    int updateById(Member record);

    int updateByIdWithBLOBs(MemberWithBLOBs record);

}
